<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>跳转</title>

<style type="text/css">
body
	{
		margin: 0px;
		padding: 0px;
		min-width: 1400px;
	}
</style>
</head>

<body>
	<div style="width: 15%; margin: auto; margin-top: 10%;" id="word">
	</div>
	<div style="width: 15%; margin: auto; margin-top: 1%;">
		如果没有自动跳转请<a href="affirmMess.html">点击这里</a>
	</div>
	
	<script type="text/javascript">
		var word = document.getElementById("word");
		word.innerHTML = "支付成功，5秒后自动跳转...";
		var int = setInterval("words()",1000);
		var i = 4;
		function words()
		{
			word.innerHTML = "支付成功，"+i+"秒后自动跳转...";
			i--;
			if(i<0)
			{
				window.clearInterval(int);
				window.location.href = "affirmMess.html";
			}
		}
	</script>
</body>
</html>
